package com.heima.pojo.vo;

import com.heima.pojo.entity.SkuClass;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * \* User: chy
 * \* Date: 2025/8/16  22:00
 * \* Description:
 * \
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SkuVO {
    private String skuId;
    private String skuName;
    private String skuImage;
    private Integer price;
    private Integer classId;
    private Boolean discount;
    private String unit;
    private String brandName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    private SkuClass skuClass;
}
